package com.wb.server.processor;

import com.wb.tcp.common.utils.ServerType;

/**
 * @Author chenyong
 * @Description TODO
 * @Date 2022/12/15 9:36
 * @Version 1.0
 */
public interface ServerFactory {
    /**
     * 启动服务端统一入口方法
     * @param port
     * @param serverType 类型  tcp udp
     * @param dataProcessorFactory
     */
    void startServer(int port,ServerType serverType, DataProcessorFactory dataProcessorFactory);
}
